package com.demo.gateway.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 *
 * @author
 * @since
 */
@RestController
@Slf4j
public class HelloController {

  @GetMapping("/say")
  public String sayHello(){
    return "[Spring-cloud-gateway]:Hello gateway";
  }

  @GetMapping("/reply")
  public String replyHello(){
    return "[Spring-cloud-gateway]:Nice to meet you";
  }
}
